Skip to content

Conversation

@sodabrew
Copy link
Collaborator

@sodabrew sodabrew commented Oct 22, 2025

Add the test from PR #1410, which tests a bug that should also be fixed by #1417

@skipkayhil
Copy link

I tried testing with #1417 and I can still reliably segfault with this script:

# frozen_string_literal: true

require "mysql2"

c = ::Mysql2::Client.new(database: "activerecord_unittest", username: "rails")
ps = c.prepare("SELECT * FROM products WHERE 1=0")
r = ps.execute
puts r.fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants